From: Cosimo Cecchi Date: Sat, 16 Feb 2013 16:57:58 +0000 (-0500) Subject: overviewControls: reset translation as well when entering overview X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4829 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0705901bcedfdcf3af79493fe736e77a615582ca;p=gnome-shell.git overviewControls: reset translation as well when entering overview https://bugzilla.gnome.org/show_bug.cgi?id=693974 --- diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index a27284364..37894edc4 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -157,6 +157,7 @@ const SlidingControl = new Lang.Class({ // entering the overview this.visible = true; this.layout.slideX = this.getSlide(); + this.actor.translation_x = 0; }, _onDragBegin: function() {